<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib uri="http://struts-menu.sf.net/tag" prefix="menu"%>
<html>
<head>
<title><s:text name="title" /></title>
<meta name="description" content="<s:text name="description"></s:text>" />
<meta name="keywords" content="<s:text name="keywords"></s:text>" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<s:url id="nicetabs_js" value="/scripts/nicetabs.js" />
<script type="text/javascript" src="${nicetabs_js}"></script>
<s:url id="global_css" value="/styles/global.css" />
<link rel="stylesheet" type="text/css" media="screen" href="${global_css}" />
<s:url id="nicetabs_css" value="/styles/nicetabs.css" />
<link rel="stylesheet" type="text/css" media="screen" href="${nicetabs_css}" />
<s:url id="article_css" value="/styles/article.css" />
<link rel="stylesheet" type="text/css" media="screen" href="${article_css}" />
</head>
<body>
	<!-- logo区/菜单栏目区 -->
	<s:include value="/header_menu.jsp" />
	<s:div id="viewArticleContentDetailId" cssClass="viewArticleContentDetail">
		<s:div id="viewArticleTitleId" cssClass="viewArticleTitle">
			<h2>
				<s:property value="articleContext.title" />
			</h2>
		</s:div>
		<s:if test="!(articleContext.subtitle == null || articleContext.subtitle.equals(''))">
			<s:div id="viewArticleTitleId" cssClass="viewArticleSubTitle">
				<h3>
					<s:property value="articleContext.subtitle" />
				</h3>
			</s:div>
		</s:if>
		<s:div id="viewArticleSummaryId" cssClass="viewArticleSummary">
			<s:property value="articleContext.summary" />
		</s:div>
		<s:iterator id="paragraph" value="articleContext.paragraphs">
			<s:if test="#paragraph.level == 1">
				<s:div id="viewArticleParagraphTitleId" cssClass="viewArticleLevelOneParagraphTitleCss">
					<s:property value="#paragraph.title" />
					<s:if test="#paragraph.contentNewLine == false">
						<span class="viewArticleLevelOneParagraphContentCss"><s:property value="#paragraph.content" /> </span>
					</s:if>
				</s:div>
				<s:if test="#paragraph.contentNewLine == true">
					<s:div id="viewArticleParagraphContentId" cssClass="viewArticleLevelOneParagraphContentCss">
						<s:property value="#paragraph.content" />
					</s:div>
				</s:if>
			</s:if>
			<s:elseif test="#paragraph.level == 2">
				<s:div id="viewArticleParagraphTitleId" cssClass="viewArticleLevelTwoParagraphTitleCss">
					<s:property value="#paragraph.title" />
					<s:if test="#paragraph.contentNewLine == false">
						<span class="viewArticleLevelTwoParagraphContentCss"> <s:property value="#paragraph.content" /> </span>
					</s:if>
				</s:div>
				<s:if test="#paragraph.contentNewLine == true">
					<s:div id="viewArticleParagraphContentId" cssClass="viewArticleLevelTwoParagraphContentCss">
						<s:property value="#paragraph.content" />
					</s:div>
				</s:if>
			</s:elseif>
			<s:elseif test="#paragraph.level == 3">
				<s:div id="viewArticleParagraphTitleId" cssClass="viewArticleLevelThreeParagraphTitleCss">
					<s:property value="#paragraph.title" />
					<s:if test="#paragraph.contentNewLine == false">
						<span class="viewArticleLevelThreeParagraphContentCss"> <s:property value="#paragraph.content" /> </span>
					</s:if>
				</s:div>
				<s:if test="#paragraph.contentNewLine == true">
					<s:div id="viewArticleParagraphContentId" cssClass="viewArticleLevelThreeParagraphContentCss">
						<s:property value="#paragraph.content" />
					</s:div>
				</s:if>
			</s:elseif>
			<s:elseif test="#paragraph.level == 4">
				<s:div id="viewArticleParagraphTitleId" cssClass="viewArticleLevelFourParagraphTitleCss">
					<s:property value="#paragraph.title" />
					<s:if test="#paragraph.contentNewLine == false">
						<span class="viewArticleLevelFourParagraphContentCss"> <s:property value="#paragraph.content" /> </span>
					</s:if>
				</s:div>
				<s:if test="#paragraph.contentNewLine == true">
					<s:div id="viewArticleParagraphContentId" cssClass="viewArticleLevelFourParagraphContentCss">
						<s:property value="#paragraph.content" />
					</s:div>
				</s:if>
			</s:elseif>
		</s:iterator>
	</s:div>
	<s:include value="/foot.jsp" />
</body>
</html>